package entity;

import java.util.List;

/**
 * @BelongsProject: tensquare_parent
 * @BelongsPackage: entity
 * @Author: yang
 * @CreateTime: 2019-03-04 14:58
 * @Description: ${Description}
 */
public class PageResult <T>{


    public PageResult() {
    }


    public PageResult(Long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    private Long total;
    private List<T> rows;
}
